package cn.edu.scujcc.customofsichuan;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;


public class SecondPager_Mine_browsingHistory extends AppCompatActivity implements View.OnClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_secondpager_mine_browsinghistory);

        Toolbar toolbar=findViewById(R.id.browsingHistory);
        toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        View huobajie_history = findViewById(R.id.browsingHistory_huobajie_history);
        View huobajie_mainActivity = findViewById(R.id.browsingHistory_huobajie_mainActivity);
        View taohuajie_mainActivity = findViewById(R.id.browsingHistory_taohuajie_mainActivity);
        View taohuajie_protect = findViewById(R.id.browsingHistory_taohuajie_protect);


        huobajie_history.setOnClickListener(this);
        huobajie_mainActivity.setOnClickListener(this);
        taohuajie_mainActivity.setOnClickListener(this);
        taohuajie_protect.setOnClickListener(this);



    }

    @Override
    public void onClick(View view) {
        Intent intent =new Intent(this, thirdPage_Detail.class);;
        switch (view.getId()){
            case R.id.browsingHistory_huobajie_history:
                break;
            case R.id.browsingHistory_huobajie_mainActivity:

                break;
            case R.id.browsingHistory_taohuajie_mainActivity:

                break;
        }


    }
}